package com.duowei.diandan.db.entry;

import android.arch.persistence.room.Entity;
import android.arch.persistence.room.PrimaryKey;

/**
 * 口味信息
 */
@Entity
public class Dmpzsd {
    @PrimaryKey(autoGenerate = true)
    private long id;

    /** 编码(主键) */
    private String pzbm;
    /** 口味信息 */
    private String nr;
    private String py;
    private String dycp;
    /** 排序号 */
    private Float pxh;
    /** 是否整单备注(1用于整单备注) */
    private String zdbz;
    private String dejj;
    private String lx;

    public Dmpzsd() {
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getPzbm() {
        return pzbm;
    }

    public void setPzbm(String pzbm) {
        this.pzbm = pzbm;
    }

    public String getNr() {
        return nr;
    }

    public void setNr(String nr) {
        this.nr = nr;
    }

    public String getPy() {
        return py;
    }

    public void setPy(String py) {
        this.py = py;
    }

    public String getDycp() {
        return dycp;
    }

    public void setDycp(String dycp) {
        this.dycp = dycp;
    }

    public Float getPxh() {
        return pxh;
    }

    public void setPxh(Float pxh) {
        this.pxh = pxh;
    }

    public String getZdbz() {
        return zdbz;
    }

    public void setZdbz(String zdbz) {
        this.zdbz = zdbz;
    }

    public String getDejj() {
        return dejj;
    }

    public void setDejj(String dejj) {
        this.dejj = dejj;
    }

    public String getLx() {
        return lx;
    }

    public void setLx(String lx) {
        this.lx = lx;
    }

    public static String querySql() {
        return "SELECT pzbm, nr, py, dycp, pxh, zdbz, dejj, lx FROM dmpzsd|";
    }
}
